
import '../../../../net/fm_base_net_domain.dart';
import '../../../../net/fm_http_request.dart';
import '../../../../net/fm_net_param_manager.dart';

class FMJobApi extends FMBaseNetDomain {

  final String orderId;

  FMJobApi({
    required this.orderId
  });

  @override
  String requestUrl() {
    return FMNetParamManager().getDefaultUrlPath("/directs/venture");
  }

  @override
  FMHttpMethodType methodType() {
    return FMHttpMethodType.post;
  }

  @override
  Map<String, dynamic> requestParams() {
    return {
      "listen" : orderId
    };
  }
}